namespace KinonekoSoftware.CodariaDB.Documents.Timelines
{
    /// <summary>
    /// <see cref="Plot"/> 类型表示碎片化剧情。
    /// </summary>
    public sealed class Plot : RootObject
    {
        private string _name;
        private string _intro;

        /// <summary>
        /// 
        /// </summary>
        /// <remarks>
        /// <see cref="Points"/> 属性指向 <see cref="StoryPoint"/>。
        /// </remarks>
        public List<string> Points { get; set; }

        /// <summary>
        /// 获取或设置 <see cref="Intro"/> 属性。
        /// </summary>
        public string Intro
        {
            get => _intro;
            set => SetValue(ref _intro, value);
        }

        /// <summary>
        /// 获取或设置 <see cref="Name"/> 属性。
        /// </summary>
        public string Name
        {
            get => _name;
            set => SetValue(ref _name, value);
        }
    }
}